<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class Acting extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'acting';
    public function getParameterAttribute($extra)
    {
        return array_values(json_decode($extra, true) ?: []);
    }
    public function getRestkeyAttribute($extra)
    {
        return array_values(json_decode($extra, true) ?: []);
    }
}
